package com.kx.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
/*
 * @SpringBootApplication 注解等价于以默认属性使用 @Configuration ，
 * 	 @EnableAutoConfiguration 和 @ComponentScan
 */
@EnableAspectJAutoProxy
@ServletComponentScan(basePackages="com.kx.core.**")
@EnableAutoConfiguration
@SpringBootApplication//(exclude=ErrorMvcAutoConfiguration.class)
public class KxCoreApplication {

	public static void main(String[] args) {
		SpringApplication.run(KxCoreApplication.class, args);
	}
}
